From 5c0c3c4bc9c998e9ce81979719ea9a485dcde960 Mon Sep 17 00:00:00 2001 From: justbur Date: Wed, 15 Jul 2015 20:12:09 -0400 Subject: [PATCH] Fix #39 `iso-transl-ctl-x-8-map' is not checked with `key-binding' because it's stored in the `key-translation-map', so this adds a test against this map. --- which-key.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index f2edf7901c6..3683b39f34c 100644 --- a/which-key.el +++ b/which-key.el @@ -912,7 +912,10 @@ Finally, show the buffer." ;; (when (> (length prefix-keys) 0) ;; (message "key binding: %s" (key-binding prefix-keys))) (when (and (> (length prefix-keys) 0) - (keymapp (key-binding prefix-keys)) + (or + (keymapp (key-binding prefix-keys)) + ;; Some keymaps are stored here like iso-transl-ctl-x-8-map + (keymapp (lookup-key key-translation-map prefix-keys))) (not which-key-inhibit)) (let* ((buf (current-buffer)) ;; get formatted key bindings -- 2.30.2